package com.code;

public class PropertyPower {
    private String group;
    private String pname;
    private String dvalue;
    private Boolean visible;
    private Boolean readOnly;
    private Boolean needed;
	
	public String getGroup() {
		return group;
	}
	public void setGroup(String group) {
		this.group = group;
	}
	public Boolean isVisible() {
		return visible;
	}
	public void setVisible(Boolean visible) {
		this.visible = visible;
	}

	public Boolean isReadOnly() {
		return readOnly;
	}
	public void setReadOnly(Boolean readOnly) {
		this.readOnly = readOnly;
	}
	public Boolean isNeeded() {
		return needed;
	}
	public void setNeeded(Boolean needed) {
		this.needed = needed;
	}
    public boolean forGroup(String group){
    	return this.group.equals(group);
    }
	public String getDvalue() {
		return dvalue;
	}
	public void setDvalue(String dvalue) {
		this.dvalue = dvalue;
	}
	public String getPname() {
		return pname;
	}
	public void setPname(String pname) {
		this.pname = pname;
	}
    
}
